﻿#include "App.h"
#include "Log.h"
#include "Config.h"
bool App::init()
{
    if (_initialized) {
        return true;
    }
    if (!Logger::getInstance().init(DEBUG, CONSOLE)) {
        return false;
    }

    if (!Configger::getInstance().init()) {
        return false;
    }

    _initialized = true;
    return true;
}
